package com.situ.orderingsystem.model;

import com.alibaba.excel.annotation.ExcelProperty;

public class Food {
    @ExcelProperty("主键")
    private Integer id;
    @ExcelProperty("食物编号")
    private String foodId;
    @ExcelProperty("分类编号")
    private String  kindId;
    @ExcelProperty("分类名称")
    private String  kindName;
    @ExcelProperty("食物名称")
    private String name;
    @ExcelProperty("价格")
    private double price;

    @ExcelProperty("备注")
    private String description;

    public String getKindName() {
        return kindName;
    }

    public void setKindName(String kindName) {
        this.kindName = kindName;
    }

    @Override
    public String toString() {
        return "Food{" +
                "id=" + id +
                ", foodId='" + foodId + '\'' +
                ", kindId='" + kindId + '\'' +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", description='" + description + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFoodId() {
        return foodId;
    }

    public void setFoodId(String foodId) {
        this.foodId = foodId;
    }

    public String getKindId() {
        return kindId;
    }

    public void setKindId(String kindId) {
        this.kindId = kindId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
